package com.cow.sram.remote;

import java.util.List;

import org.springframework.stereotype.Service;

import com.cow.sram.data.dto.OrgInfoDTO;
import com.cow.sram.data.dto.User;
import com.cow.sram.data.entity.Resourceinfo;

@Service
public interface IAuthRemoteService{
	public User loadUserByAccountname(String accountName,String systemID);
	
	public User loadUserByAccountName(String accountName);

	public User getUserById(Integer userID);

	public String getUserMobileTel(String accountName);
	

	public Integer register(User user);

	public String modifyUserInfo(User user);
	

	public String modifyPassword(Integer userid,String oldPassword,String newPassword);
	
	public List<OrgInfoDTO> getOrgs();
	public List<User> getOrgUser(Integer orgId);
	
	public OrgInfoDTO getOrgById(Integer orgId);
	
	public List<Resourceinfo> getResourceByType(String systemID,String resourceType);
}
